import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ApesContainerComponent } from './apes-container.component';
import { ApesBoxModule } from '../box/apes-box.module';
import { ApesScrollPanelModule } from '@shared/apes/scroll-panel';
import { ApesCardModule } from '@shared/apes/card';
import { ApesRelevancyLinkModule } from '@shared/apes/relevancy-link';

const COMPONENTS = [ApesContainerComponent];

@NgModule({
  imports: [CommonModule, ApesBoxModule, ApesScrollPanelModule, ApesCardModule, ApesRelevancyLinkModule],
  declarations: [...COMPONENTS],
  exports: [...COMPONENTS],
})
export class ApesContainerModule {
  static forRoot(): ModuleWithProviders {
    return { ngModule: ApesContainerModule };
  }
}
